summation of integrals